package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;
import com.xuecheng.content.model.po.CourseTeacher;
import com.xuecheng.content.model.po.Teachplan;

import java.util.List;

public interface TeachplanService extends IService<Teachplan> {
    List<TeachplanDto> selectTreeNodes(Long courseId);
    void saveTeachplan(SaveTeachplanDto teachplan);

    void deleteTeachplan(Long id);

    void movedownTeachplan(Long id);

    void moveupTeachplan(Long id);

    List<CourseTeacher> getCourseTeacher(Long couseId);

    CourseTeacher addCourseTeacher(CourseTeacher courseTeacher, Long companyId);

    void deleteCourseTeacher(Long courseId, Long id, Long companyId);
}
